import { createRouter, createWebHistory } from 'vue-router'

const routes = [
    {
        path: '/',
        name: 'Home',
        component: () => import('../views/Home.vue')
    },
    {
        path: '/employees',
        name: 'Employees',
        component: () => import('../views/Employees.vue')
    },
    {
        path: '/shifts',
        name: 'Shifts',
        component: () => import('../views/Shifts.vue')
    },
    {
        path: '/schedule',
        name: 'Schedule',
        component: () => import('../views/Schedule.vue')
    }
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router